home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / Development / PowerD / powerd / modules.lha / modules / dos / stdio.m < prev    next >
Encoding:
Text File  |  2000-11-18  |  420 b   |  13 lines

  1. //#define ReadChar()        FGetC(Input())
  2. #define WriteChar(c)        FPutC(Output(),(c))
  3. #define UnReadChar(c)        UnGetC(Input(),(c))
  4. #define ReadChars(buf,num)    FRead(Input(),(buf),1,(num))
  5. #define ReadLn(buf,len)        FGets(Input(),(buf),(len))
  6. #define WriteStr(s)        FPuts(Output(),(s))
  7. #define VWritef(format,argv)    VFWritef(Output(),(format),(argv))
  8.  
  9. #define BUF_LINE     0
  10. #define BUF_FULL     1
  11. #define BUF_NONE     2
  12. #define ENDSTREAMCH     -1
  13.